<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false" %>
<%@ include file="/views/common/resources.jsp" %>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>      
<!DOCTYPE html>
<html>
<head>
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>提醒分析</title>
<link href="<%=basePath %>resources/css/report.css" rel="stylesheet">
<link href="<%=basePath%>resources/js/common/plugin/easyui/themes/default/easyui.css" rel="stylesheet"/>
<script src="<%=basePath%>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
<script src="<%=basePath %>resources/js/common/plugin/echarts/echarts.min.js"></script>
<script src="<%=basePath%>resources/js/common/plugin/easyui/jquery.easyui.min.js"></script> 
<script src="<%=basePath %>resources/js/common/util/common.js"></script>
<script src="<%=basePath %>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
</head>

<script type="text/javascript">
var appCtx="<%=basePath%>";
//vehicleAlarm platformAlarm enterpriseAlarm
</script>
<body class="user">
<div class="page">
	<div class="slider pa clearfix">
        <%@ include file="/views/common/menu.jsp" %> 
    </div>
		<div class="main ">
			<%@ include file="/views/common/top.jsp"%>
			<div class="content pr clearfix">
				<div class="content" style='margin-top:10px;padding-left:0;padding-right:0'>
						<div class="querys fl" style="width: 100%;">
							<div class="clearfix pr" >
							   	<div class="query-list fl" >
				                    <select class='query-select' id="remindType">
				                    	<option value ="">请选择提醒方式</option>
				                    	<option value ="0">短信</option>
				                    	<option value ="1">邮件</option>
				                    </select> 
				                </div>
				                <div class="query-list fl dn"  >
				                	<select class="query-select" id="reminder">
				                    	<option value ="">请选择提醒对象</option>
				                    	<option value ="0">平台联系人</option>
				                    	<option value ="1">业户联系人</option>
										<option value ="2">从业人员</option>
										<option value ="3">区域联系人</option>
										<option value ="4">车辆联系人</option>
				                    </select> 
				                </div>
				               
				              	<div class="query-list fl"  id="startDate" >
				                	 <input type="text" id="inputStartDate" class="query-input fl Wdate Time_input" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" >
				                </div>
								<div class="query-list fl"  id="endDate" >
				                	  <input type="text" id="inputEndDate" class="query-input fl Wdate Time_input" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" >
				                </div>
				               
				                <a class="query-btn query-require db fl" href="javascript:;" title="查询" id="queryBtn" style='margin-left:65px'>查询</a>
				                <a class="query-btn query-export db fl" href="javascript:;" title="导出" id="exportExcel" >导出</a> 
							</div>
						</div>
					<div class="chart row-fluid " style="height:400px;">
						<div class="span11 chart-list chart-line" style="height:400px;margin-top:20px;width:100%" id="chart"></div>
					</div>
					<div class="clearfix" style="margin-top:50px;">
						 <div id="tableDiv" class="detail-report" style="float: left;width: 100%;overflow-y:auto;">
      							<table id="resultTable"></table>
           				 </div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<%--导出数据弹窗--%>
<div id="exportModal" class="modal hide fade" data-backdrop="static" style="left: 51%; width:600px;top: 52%;  margin-top: -89.5px;" aria-hidden="false" tabindex="-1" data-backdrop="static">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		<h4 id="exportTitle">导出提醒分析报表</h4>
	</div>
	<div class="modal-body" style="font-size: 13px;vertical-align: middle; text-align: center;">
		<span>页数:</span>
		<input class="input-medium" id="StartPageIndex" type="number" value="1"><span>&nbsp;到&nbsp;</span>
		<input class="input-medium" id="EndPageIndex" type="number">
	</div>
	<div class="modal-footer">
	     <button class="btn " data-dismiss="modal" aria-hidden="true">关闭</button>
	     <button class="btn btn-ecColor" id="confirmExport" name="confirmExport">导出</button> 
    </div>
</div> 
<script src="<%=basePath %>resources/js/common/main/base64.js"></script>
<script src="<%=basePath %>resources/js/common/main/global.js"></script>
<script src="<%=basePath %>resources/js/common/main/nav.js"></script>
<script src="<%=basePath%>resources/js/business/report/remindAnalyzes.js"></script>
</body>
</html>